/**
 *
 *
 * 
 *
 * 
 */

package io.dbw.modules.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.dbw.modules.business.entity.SysUserTokenEntity;
import io.dbw.modules.business.vo.LoginUserVO;

/**
 * 用户Token
 *
 * 
 */
public interface SysUserTokenService extends IService<SysUserTokenEntity> {

	/**
	 * 生成token
	 * @param userId  用户ID
	 */
	LoginUserVO createToken(long userId );

	/**
	 * 退出，修改token值
	 * @param token  用户
	 */
	void logout(String token);

}
